home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 24
/
Aminet 24 (1998)(GTI - Schatztruhe)[!][Apr 1998].iso
/
Aminet
/
util
/
libs
/
newfmt.readme
< prev
next >
Wrap
Text File
|
1998-02-07
|
3KB
|
62 lines
Short: New way to format strings (like in DOpus)
Author: Wojciech Kocjan <kocjan@ka.onet.pl>
Uploader: Wojciech Kocjan <kocjan@ka.onet.pl>
Version: 4.2
Type: util/libs
This library is intended to replace (not patch!) the exec/RawDoFmt()
function by easier (for the user and developer). Instead of parsing only
the type of field, you enter the string name (tag) and format optionally
(defaults to %s). It uses RawDoFmt() for printf-like formatting of single
string (tag). The format string can be anything and the application using
newfmt.library will be able to select the characters responsible for
beginning, slashing and ending of the tag. By default they are "{", "/" and
"}". The tag consists of the following:
{tag/format} ie. {f/s} {size/ld}
| | | | |
| | | | +--ending character
| | | +-----formatting string (for RawDoFmt())
| | +---------shash character
| +-----------tag name (up to 4 characters)
+-------------beginning character
or
{tag}
| | |
| | +--ending character
| +----tag name (up to 4 characters)
+------beginning character
beginning character - usually "{", set by application
tag name - is the "tag" for searching for the value
slash character - used when you want to enter the format
format - RawDoFmt() format, for more info see autodocs
ending character - usually "}", set by application.
============================= Archive contents =============================
Original Packed Ratio Date Time Name
-------- ------- ----- --------- -------- -------------
637 280 56.0% 13-Dec-97 16:56:00 newfmt.info
2344 1248 46.7% 11-Jan-98 14:23:04 +autodoc.info
8656 2265 73.8% 11-Jan-98 14:17:06 +newfmt.doc
2349 1252 46.7% 11-Jan-98 14:23:02 +fd.info
584 243 58.3% 11-Jan-98 14:18:22 +newfmt.fd
2349 1255 46.5% 11-Jan-98 14:23:04 +include.info
2182 522 76.0% 10-Jan-98 16:01:54 +newfmt_protos.h
943 360 61.8% 09-Jan-98 20:52:52 +newfmt.h
399 229 42.6% 09-Jan-98 20:51:22 +newfmt.i
737 308 58.2% 11-Jan-98 14:21:38 +newfmt_lib.i
1133 245 78.3% 10-Jan-98 16:01:52 +newfmt_pragmas.h
180 127 29.4% 01-Jan-98 16:08:18 +newfmt.h
2349 1251 46.7% 11-Jan-98 14:23:04 +lib.info
500 320 36.0% 13-Dec-97 22:54:10 +newfmt.lib
3596 1962 45.4% 11-Jan-98 13:52:32 +newfmt.library
1390 650 53.2% 11-Jan-98 14:19:16 +newfmt.readme
1415 522 63.1% 08-Dec-97 19:41:32 +newfmt.readme.info
-------- ------- ----- --------- --------
31743 13039 58.9% 25-Jan-98 20:58:30 17 files